package easy;

public class Solution_1920 {

    public int[] buildArray(int[] nums) {
        int[] array = new int[nums.length];
        for (int i = 0; i < array.length; i++) {
            array[i] = nums[nums[i]];
        }
        return array;
    }
}
